﻿using System.Windows.Forms;
using NExplorer.Core.Properties;

namespace NExplorer.Core.Commands
{
	internal class PasteCommand : AnyItemsCommandBase
	{
		public PasteCommand()
			: base("Paste", Resources.Paste.ToBitmap())
		{
			Enabled = Clipboard.ContainsFileDropList();
		}

		public override void Execute()
		{
			ServiceManager.FileOperations.PasteItemsFromClipboard();
		}
	}
}